﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Contact Us</title>
<style type="text/css">
#Container {
	margin-right: auto;
	margin-left: auto;
	width: 780px;
}
.style3 {
	border: 1px solid #00CCCC;
}
</style>
<link href="CSS/Body.css" rel="stylesheet" type="text/css" />
<link href="CSS/Layout.css" rel="stylesheet" type="text/css" />
</head>

<body style="color: #FFFFFF; margin: 0; background-color: #003745">

<div id="Container">
	<div id="banner">
		<img alt="" height="200" src="Img/Banner.gif" width="780" /></div>
		
		<div id="buttons">Buttons</div>
		
		
		
		
		
		<div id="Editable">
			<form action="aspmailform.asp" method="post">
			<%
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = "Contact"
Mailer.FromAddress= "contact@huishmarine.com"
Mailer.RemoteHost = "mail@huishmarine.com"
Mailer.AddRecipient "Huish", "contact@huishmarine.com"
Mailer.AddExtraHeader "X-MimeOLE:Produced mail@huishmarine.com"
Mailer.Subject = "Contact us:"

strMsgHeader = "Form information follows" & vbCrLf
for each qryItem in Request.Form
  strMsgInfo = strMsgInfo & qryItem & " - " & request.Form(qryItem) & vbCrLf
next
strMsgFooter = vbCrLf & "End of form information"

Mailer.BodyText = strMsgHeader & strMsgInfo & strMsgFooter
if Mailer.SendMail then
  Response.Write "Form information submitted..."
else
  Response.Write "Mail send failure. Error was " & Mailer.Response
end if
set Mailer = Nothing
%>

				<table align="center"  cellpadding="0" cellspacing="0" class="style3">
					<tr>
						<td>Name:</td>
						<td><input name="Text1" type="text" />&nbsp;</td>
					</tr>
					<tr>
						<td>Email:</td>
						<td><input name="Text2" type="text" />&nbsp;</td>
					</tr>
					<tr>
						<td>Message</td>
						<td><input name="Text3" type="text" />&nbsp;</td>
					</tr>
					<tr>
						<td>&nbsp;</td>
						<td>
						<input name="Submit1" type="submit" value="submit" />&nbsp;</td>
					</tr>
				</table>
			</form>
		</div>
		<div id="footer">
			<img alt="" height="132" src="Img/Footer.gif" width="780" /></div>
</div>

</body>

</html>
